/**
 * Copyright (C) 2013 AirChina
 *
 * @description:
 * @version:v1.0.0
 */
package com.china.itapi.common;

import com.typesafe.config.Config;
import com.typesafe.config.ConfigFactory;
import com.typesafe.config.ConfigParseOptions;
import com.typesafe.config.ConfigResolveOptions;
import com.typesafe.config.ConfigSyntax;

/**
 * @Description:
 * @author:larry
 * @Created:2013-10-30上午11:02:03
 */
public class CommonConfig {
	private static Config config = ConfigFactory.load("common.conf", ConfigParseOptions.defaults().setSyntax(ConfigSyntax.CONF).setAllowMissing(false), ConfigResolveOptions.defaults()
			.setUseSystemEnvironment(false));
	
	public static String getCommonCacheServer(){
		return config.getString("cache.servers.common");
	}
	
}
